package com.ssm.song.book.mapper;

import com.ssm.song.book.domain.Reader;
import com.ssm.song.book.domain.vo.ReaderVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 宋伟宁
* @description 针对表【reader】的数据库操作Mapper
* @createDate 2023-10-16 14:30:25
* @Entity com.ssm.song.book.domain.Reader
*/
public interface ReaderMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Reader record);

    int insertSelective(Reader record);

    Reader selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Reader record);

    int updateByPrimaryKey(Reader record);


    ReaderVo login(@Param("cardnum") String cardnum,@Param("password") String password);
}
